import {getRequest} from '/@/lib/axios'

export const selectTableApi = {
    getAllTableNames(sourceId) {
        return getRequest(`/select-table-name/show/${sourceId}`);
    },

    getSaveTableNames(tableName,sourceId) {
        return getRequest(`/save-table-name/save/${tableName}/${sourceId}`);
    },

    getNameBySourceId(sourceId) {
        return getRequest(`/save-table-name/name/${sourceId}`)
    }

}